package fu02;

public class Fruit {
    private String name;
    private double price;
    private String area;

    public Fruit(String name, double price, String area) {
        this.name = name;
        this.price = price;
        this.area = area;
    }




    public String toString() {
        return "水果类{" + "水果名'" + name + '\'' + ", 场地'" + area + '\'' + ", 价格" + price + '}';


    }
}